<div class="row">
	<fieldset>
	<span class="label">Available Fees to add</span>
	<?if(isset($system_message))echo $system_message;?>
		<div class="row collapse">
			<div class="small-3 large-2 columns">
			  <span class="prefix">Search Other Fees</span>
			</div>
			<div class="small-9 large-10 columns">
			  <input type="text" id="autosearch" placeholder="Type Name of Fees to search.">
			</div>
		</div>
	<table class="data-table">
		<thead class="tabular-head">
			<th>Available Fees to add</th>
			<th>Fee Rates</th>
		</thead>
		<tbody class="tabular">
		<?php if(!empty($available_fees)):?>
			<?echo form_open('fees/add_fee')?>
			<?foreach($available_fees as $key => $value):?>
				<tr>
					<td><input type="checkbox" name="fee[][<?=$value['sef_fee_rate'];?>]" value="<?=$value['sef_fee_name'];?>"> <?=$value['sef_fee_name'];?></td>
					<td><?=$value['sef_fee_rate'];?></td>
				</tr>
			<?endforeach;?>
		<?endif;?>
		<tbody>
	</table>
		<input type="hidden" name="enrollment_id" value="<?php echo $enrollment_id;?>">
		<input type="submit" class="button tiny" name="cashier_add_fee" value="Add Fee">
		<a href="<?=site_url('fees/view_fees/'.$enrollment_id);?>" class="btn btn-success">Cancel</a>
	</fieldset>
</div>
